package com.love.cloud.common.core.constant.enums;


/**
 * @author
 * @version 1.0
 */
public enum ResultCode {

	/* 成功状态码 */
	SUCCESS(0, "成功"),
	/* 认证401错误 */
	CLIENT_NULL_ERROR(401, "获取到客户端为空"),

	/* 系统500错误*/
	SYSTEM_ERROR(500, "系统异常，请稍后重试"),
	/* 用户没手机号 */
	USER_NO_PHONE_ERROR(10001, "用户没有设置手机号");
	private Integer code;

	private String message;

	ResultCode(Integer code, String message) {
		this.code = code;
		this.message = message;
	}

	public Integer code() {
		return this.code;
	}

	public String message() {
		return this.message;
	}

}
